<?php

abstract class Engine_Class {

	protected $session;
	protected $auth;
	protected $log;
	protected $cache;
	protected $translate;
	protected $locale;
	protected $acl;
	protected $currency;
	protected $_error;

	public function __construct() {
		$this->session = new Zend_Session_Namespace();
		$this->auth = Zend_Registry::get('WJAuth');
		$this->log = Zend_Registry::get('Zend_Log');
		$this->cache = Zend_Registry::get('Zend_Cache');
		$this->translate = Zend_Registry::get('Zend_Translate');
		$this->locale = Zend_Registry::get('Zend_Locale');
		$this->acl = Zend_Registry::get('Zend_Acl');
		$this->currency = Zend_Registry::get('Zend_Currency');

		$this->init();
	}

	protected abstract function init();

}
?>